package com.ruoyi.bookkeeping.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 好友请求对象 book_notice
 * 
 * @author ruoyi
 * @date 2023-02-24
 */
@Data
@ApiModel("好友请求对象")
public class BookNotice
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("好友通知id")
    @TableId(type = IdType.AUTO)
    private Long friendsNoticeId;

    @ApiModelProperty("加好友的id")
    @Excel(name = "加好友的id")
    private Long userId;

    @ApiModelProperty("被加好友的id")
    @Excel(name = "被加好友的id")
    private Long beUserId;

    @ApiModelProperty("是否同意好友请求(0同意,1不同意)")
    @Excel(name = "是否同意好友请求(0同意,1不同意)")
    private String isAgree;

    @ApiModelProperty("请求消息")
    @Excel(name = "请求消息")
    private String sendMessage;

    @ApiModelProperty("处理消息")
    @Excel(name = "处理消息")
    private String processMessage;

    @ApiModelProperty("请求者")
    private String createBy;

    @ApiModelProperty("请求时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("更处理者者")
    private String updateBy;

    @ApiModelProperty("处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
